import React, {Component} from 'react';
import {withRouter, Link} from 'react-router-dom'

import "./../static/addItem.styl"

export default class AddItem extends React.Component {
  goRouter(d) {
    this.props.history.push(d)
  }
  render() {
    return (
      <div style={{width: "100%", height: "100%", background: "white"}}>
        <div className="cistern">
          <img src={require("./../static/image/addProject.png")} alt=""/>
          <p className="c-title">您还没添加任何项目</p>
          <p className="c-tip">和XX达成协议后，需要给XX建立一个项目档案</p>
          <div className="c-btn" onClick={()=>this.goRouter()}>立即添加</div>
        </div>
      </div>
    );
  }
}